package com.dgut.coal.service.impl;

import com.dgut.coal.dao.SupplierDao;
import com.dgut.coal.entity.Supplier;
import com.dgut.coal.service.SupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: Yang
 * @Description:
 * @Date: Created in 9:25 2019/10/8
 * @Modifued BY:
 */
@Service
public class SupplierServiceImpl implements SupplierService {

    @Autowired
    SupplierDao sd;

    @Override
    public int passSupplier(List<Supplier> suppliers) {
        return sd.passSupplier(suppliers);
    }

    @Override
    public List<Supplier> realSupplier(Integer apply_id) {
        return sd.realSupplier(apply_id);
    }

}
